package com.alibaba.cirtus.ots.application.adapter.ability.facade.serviceV2.sap;

import com.alibaba.cz.base.tool.log.Log;
import com.alibaba.fastjson.JSON;
import com.epoch.app.otsapplicationadaptersdk.mnsapif036.dto.CallbackRequest;
import com.epoch.app.otsapplicationadaptersdk.mnsapif036.service.MnSapIf036Service;
import com.epoch.app.otsapplicationadaptersdk.sap.MnSapCommResponse;

public class MnSapIf036ServiceImpl implements MnSapIf036Service {
    private final Log log = Log.getLogger(MnSapIf036ServiceImpl.class);

    @Override
    public MnSapCommResponse callback(CallbackRequest callbackRequest){
        log.info("MnSapIf036ServiceImpl callBack param:{}", JSON.toJSONString(callbackRequest));
        MnSapCommResponse mnSapCommResponse = new MnSapCommResponse();
        mnSapCommResponse.setMessageId(callbackRequest.getMessage());
        return mnSapCommResponse;
    }

}
